import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
import router from './assets/js/router'
import Mint from 'mint-ui';
import { Swipe, SwipeItem } from 'mint-ui';
import axios from 'axios'
import './assets/css/cssreset.css';
import 'mint-ui/lib/style.css';
import './assets/css/animate.css';
import './assets/js/jquery-3.0.0.min.js'
import Vuex from 'vuex';
import Swiper from 'vue-awesome-swiper';
import './assets/css/swiper.min.css';
// import './assets/js/index'


Vue.use(Swiper);
Vue.use(Vuex);

const store = new Vuex.Store({
  state: {
    msg: 'plus'
  }
})

Vue.prototype.$http = axios;
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);

Vue.use(Mint);
Vue.use(VueRouter);
new Vue({
  el: '#app',
  render: h => h(App),
  router,
  store
})
